/**
 * @description: 切换主题
 * @return {*}
 */

export const toggleTheme = (theme: string) => {
  const html = document.querySelector('html') as HTMLElement;
  html.setAttribute('data-theme', theme);
};
